package cn.tedu.ivos.dict.pojo.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

@Data
public class DictAddParam {
    @Schema(description = "字典id")
    private Long id;
    @Schema(description = "字典名称")
    @NotBlank(message = "字典名称不能为空!")
    private String name;
    @Schema(description = "字典编码")
    @NotBlank(message = "字典编码不能为空!")
    private String code;
    @Schema(description = "字典描述")
    @NotBlank(message = "字典描述不能为空!")
    private String remark;
}
